package com.learn.project2.model.vo.admin.stat;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: 尹圣淼
 * @Date: 2022/1/8 14:14
 */
@NoArgsConstructor
@Data
public class StatGoodsVO {

    private List<String> columns; //  {"day","orders","products","amount"}
    private List<RowsBean> rows;

    @NoArgsConstructor
    @Data
    public static class RowsBean {
        private Double amount;  // 下单货品总额。
        private Integer orders; // 订单量。
        private String day;     // 时间的前十位。年-月-日
        private Integer products; // 下单货品数量
    }
}
